﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TVProgamAnalyticDataSet" targetNamespace="http://tempuri.org/TVProgamAnalyticDataSet.xsd" xmlns:mstns="http://tempuri.org/TVProgamAnalyticDataSet.xsd" xmlns="http://tempuri.org/TVProgamAnalyticDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TVProgamAnalyticConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TVProgamAnalyticConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TVProgramAnalyst.Properties.Settings.GlobalReference.Default.TVProgamAnalyticConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TimelineDivision_FinalTableAdapter" GeneratorDataComponentClassName="TimelineDivision_FinalTableAdapter" Name="TimelineDivision_Final" UserDataComponentName="TimelineDivision_FinalTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TVProgamAnalyticConnectionString (Settings)" DbObjectName="TVProgamAnalytic.dbo.TimelineDivision_Final" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Name, Date, Channel, StartDateTime, EndDateTime, AudienceMeasurement, MarketShare, EnglishName, Category, EnglishCategory FROM dbo.TimelineDivision_Final</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
              <Mapping SourceColumn="Channel" DataSetColumn="Channel" />
              <Mapping SourceColumn="StartDateTime" DataSetColumn="StartDateTime" />
              <Mapping SourceColumn="EndDateTime" DataSetColumn="EndDateTime" />
              <Mapping SourceColumn="AudienceMeasurement" DataSetColumn="AudienceMeasurement" />
              <Mapping SourceColumn="MarketShare" DataSetColumn="MarketShare" />
              <Mapping SourceColumn="EnglishName" DataSetColumn="EnglishName" />
              <Mapping SourceColumn="Category" DataSetColumn="Category" />
              <Mapping SourceColumn="EnglishCategory" DataSetColumn="EnglishCategory" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TVProgamAnalyticDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="TVProgamAnalyticDataSet" msprop:Generator_UserDSName="TVProgamAnalyticDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="TimelineDivision_Final" msprop:Generator_TableClassName="TimelineDivision_FinalDataTable" msprop:Generator_TableVarName="tableTimelineDivision_Final" msprop:Generator_TablePropName="TimelineDivision_Final" msprop:Generator_RowDeletingName="TimelineDivision_FinalRowDeleting" msprop:Generator_UserTableName="TimelineDivision_Final" msprop:Generator_RowChangingName="TimelineDivision_FinalRowChanging" msprop:Generator_RowEvHandlerName="TimelineDivision_FinalRowChangeEventHandler" msprop:Generator_RowDeletedName="TimelineDivision_FinalRowDeleted" msprop:Generator_RowEvArgName="TimelineDivision_FinalRowChangeEvent" msprop:Generator_RowChangedName="TimelineDivision_FinalRowChanged" msprop:Generator_RowClassName="TimelineDivision_FinalRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
              <xs:element name="Channel" msprop:Generator_ColumnVarNameInTable="columnChannel" msprop:Generator_ColumnPropNameInRow="Channel" msprop:Generator_ColumnPropNameInTable="ChannelColumn" msprop:Generator_UserColumnName="Channel">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDateTime" msprop:Generator_ColumnVarNameInTable="columnStartDateTime" msprop:Generator_ColumnPropNameInRow="StartDateTime" msprop:Generator_ColumnPropNameInTable="StartDateTimeColumn" msprop:Generator_UserColumnName="StartDateTime" type="xs:dateTime" />
              <xs:element name="EndDateTime" msprop:Generator_ColumnVarNameInTable="columnEndDateTime" msprop:Generator_ColumnPropNameInRow="EndDateTime" msprop:Generator_ColumnPropNameInTable="EndDateTimeColumn" msprop:Generator_UserColumnName="EndDateTime" type="xs:dateTime" />
              <xs:element name="AudienceMeasurement" msprop:Generator_ColumnVarNameInTable="columnAudienceMeasurement" msprop:Generator_ColumnPropNameInRow="AudienceMeasurement" msprop:Generator_ColumnPropNameInTable="AudienceMeasurementColumn" msprop:Generator_UserColumnName="AudienceMeasurement" type="xs:decimal" minOccurs="0" />
              <xs:element name="MarketShare" msprop:Generator_ColumnVarNameInTable="columnMarketShare" msprop:Generator_ColumnPropNameInRow="MarketShare" msprop:Generator_ColumnPropNameInTable="MarketShareColumn" msprop:Generator_UserColumnName="MarketShare" type="xs:decimal" minOccurs="0" />
              <xs:element name="EnglishName" msprop:Generator_ColumnVarNameInTable="columnEnglishName" msprop:Generator_ColumnPropNameInRow="EnglishName" msprop:Generator_ColumnPropNameInTable="EnglishNameColumn" msprop:Generator_UserColumnName="EnglishName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:Generator_UserColumnName="Category" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EnglishCategory" msprop:Generator_ColumnVarNameInTable="columnEnglishCategory" msprop:Generator_ColumnPropNameInRow="EnglishCategory" msprop:Generator_ColumnPropNameInTable="EnglishCategoryColumn" msprop:Generator_UserColumnName="EnglishCategory" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>